package com.cn.admin.vo.coupon;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "创建优惠券")
public class CouponVO {

    @ApiModelProperty(value = "id")
    private int id;

    @ApiModelProperty(value = "优惠券id")
    private int coupon_id;

    @ApiModelProperty(value = "优惠券名称")
    private String name;

    @ApiModelProperty(value = "优惠券图片")
    private String img;

    @ApiModelProperty(value = "优惠券类型")
    private String type;

    @ApiModelProperty(value = "发行量")
    private int count;

    @ApiModelProperty(value = "优惠额度")
    private BigDecimal coupon_amount;

    @ApiModelProperty(value = "优惠券状态")
    private int status;

    @ApiModelProperty(value = "优惠券创建时间")
    private String create_time;

    @ApiModelProperty(value = "优惠券更新时间")
    private String update_time;

    @ApiModelProperty(value = "活动开始时间")
    private String start_time;

    @ApiModelProperty(value = "活动结束时间")
    private String end_time;

    @ApiModelProperty(value = "有效期")
    private String effective_time;

    @ApiModelProperty(value = "使用说明")
    private String explain;

}
